package vendas.business;

import gminet.infra.business.BusinessException;
import gminet.infra.business.BusinessObject;

import java.util.List;

import vendas.dto.PaymentStatus;


/**
 * @author Gabriel Flores Mendes
 * 
 * 
 */
public class PaymentStatusBusiness extends BusinessObject {

    public static PaymentStatus findByPK(int statusId) throws BusinessException {

        return PaymentStatus.getPaymentStatusById(statusId);
    }

    public static List<PaymentStatus> findAll() {

        return PaymentStatus.getList();
    }

}
